import axios from '@/axios';

// 线索列表
export function userList(data) {
    return axios({
        url: '/users/user-list',
        method: 'post',
        data
    })
}

// 创建线索
export function createUser(data) {
    return axios({
        url: '/users/create-user',
        method: 'post',
        data
    })
}

// 线索详情
export function userInfo(data) {
    return axios({
        url: '/users/infos',
        method: 'post',
        data
    })
}

// 修改状态
export function changeStatus(data) {
    return axios({
        url: '/users/change-status',
        method: 'post',
        data
    })
}

// 添加跟进记录
export function addFollow(data) {
    return axios({
        url: '/users/add-follow',
        method: 'post',
        data
    })
}

// 跟进记录
export function followList(data) {
    return axios({
        url: '/users/follow-list',
        method: 'post',
        data
    })
}

// 添加待办
export function addSomething(data) {
    return axios({
        url: '/users/add-something',
        method: 'post',
        data
    })
}

// 代办信息
export function somethingLog(data) {
    return axios({
        url: '/users/something-log',
        method: 'post',
        data
    })
}

// 上传电话
export function addPhone(data) {
    return axios({
        url: '/users/add-phone',
        method: 'post',
        data
    })
}

// 电话记录
export function phoneLog(data) {
    return axios({
        url: '/users/phone-log',
        method: 'post',
        data
    })
}

// 日志
export function userLog(data) {
    return axios({
        url: '/users/log',
        method: 'post',
        data
    })
}

// 多个线索
export function manyUserInfo(data) {
    return axios({
        url: '/users/many-user-info',
        method: 'post',
        data
    })
}

// 合并线索
export function mergeUser(data) {
    return axios({
        url: '/users/merge_user',
        method: 'post',
        data
    })
}

// 删除线索
export function delUser(data) {
    return axios({
        url: '/users/del-user',
        method: 'post',
        data
    })
}

// 转客户
export function toKehu(data) {
    return axios({
        url: '/users/to-kehu',
        method: 'post',
        data
    })
}

// 标记优秀
export function toExcellent(data) {
    return axios({
        url: '/users/to-excellent',
        method: 'post',
        data
    })
}

// 标记垃圾
export function toGarbage(data) {
    return axios({
        url: '/users/to-garbage',
        method: 'post',
        data
    })
}

// 退回
export function quit(data) {
    return axios({
        url: '/users/quit',
        method: 'post',
        data
    })
}

// 广告信息
export function adInfo(data) {
    return axios({
        url: '/users/ad-info',
        method: 'post',
        data
    })
}

// 批量设置标签
export function setManyTag(data) {
    return axios({
        url: '/users/set-many-tag',
        method: 'post',
        data
    })
}

// 转移线索
export function transfer(data) {
    return axios({
        url: '/users/transfer',
        method: 'post',
        data
    })
}

// 分享线索
export function share(data) {
    return axios({
        url: '/users/share',
        method: 'post',
        data
    })
}

// 公共线索列表
export function gongUserList(data) {
    return axios({
        url: '/users/gong-user-list',
        method: 'post',
        data
    })
}

// 领取线索
export function lingqu(data) {
    return axios({
        url: '/users/lingqu',
        method: 'post',
        data
    })
}

// 分配线索
export function fenpei(data) {
    return axios({
        url: '/users/fenpei',
        method: 'post',
        data
    })
}

// 恢复至线索池
export function resetUser(data) {
    return axios({
        url: '/users/reset-user',
        method: 'post',
        data
    })
}

// 彻底删除
export function completeDel(data) {
    return axios({
        url: '/users/complete-del',
        method: 'post',
        data
    })
}

// 批量无效
export function nouse(data) {
    return axios({
        url: '/users/nouse',
        method: 'post',
        data
    })
}

// 分配记录
export function fromData(data) {
    return axios({
        url: '/users/from-data',
        method: 'post',
        data
    })
}

// 搜索总数
export function searchNum(data) {
    return axios({
        url: '/index/search-num',
        method: 'post',
        data
    })
}

// 账户消费情况
export function accountInfo(data) {
    return axios({
        url: '/users/account-info',
        method: 'post',
        data
    })
}
